package com.pateo.springcloudorder.dao.mapper.auto;

import com.pateo.springcloudorder.dao.model.auto.AutoOrder;
import com.pateo.springcloudorder.dao.model.auto.AutoOrderExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface AutoOrderMapper {
    long countByExample(AutoOrderExample example);

    int deleteByPrimaryKey(Long id);

    int insert(AutoOrder record);

    int insertSelective(AutoOrder record);

    List<AutoOrder> selectByExample(AutoOrderExample example);

    AutoOrder selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") AutoOrder record, @Param("example") AutoOrderExample example);

    int updateByExample(@Param("record") AutoOrder record, @Param("example") AutoOrderExample example);

    int updateByPrimaryKeySelective(AutoOrder record);

    int updateByPrimaryKey(AutoOrder record);
}